# 指定CMake的最低版本
cmake_minimum_required(VERSION 3.16)

# 工程名称
project(CMake_Study)

# 指定生成文件的路径
set(HOME /home/user/c_program/stronger-live/Cmake_copy/exe)  
set(EXECUTABLE_OUTPUT_PATH ${HOME}/bin) 


# aux_source_directory(${PROJECT_SOURCE_DIR}/src SRC)
file(GLOB SRC ${CMAKE_CURRENT_SOURCE_DIR}/*.c)
include_directories(${PROJECT_SOURCE_DIR}/inc)

# 链接静态库
link_libraries(calc)
link_directories(${PROJECT_SOURCE_DIR}/staticlib)





add_executable(app ${SRC})

